package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.PspWarnInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>DAO interface:贷后预警信息表				<p>
 * @author chenqm1
 * @date 2018-05-04
 */
public interface PspWarnInfoDao {
	
	public int insertPspWarnInfo(PspWarnInfo pspWarnInfo);
	
	public int deleteByPk(PspWarnInfo pspWarnInfo);
	
	public int updateByPk(PspWarnInfo pspWarnInfo);
	
	public PspWarnInfo queryByPk(PspWarnInfo pspWarnInfo);
	
	public List<PspWarnInfo> queryAllOwnerByPage(PspWarnInfo pspWarnInfo);
	
	public List<PspWarnInfo> queryAllCurrOrgByPage(PspWarnInfo pspWarnInfo);
	
	public List<PspWarnInfo> queryAllCurrDownOrgByPage(PspWarnInfo pspWarnInfo);

	public void deleteByPk(String bizSerno);
	/**
	 * 批量新增贷后预警信息
	 * @param pspWarnInfo
	 * @return
	 */
	public int insertBatchPspWarnInfo(@Param("pspWarnInfo") List<PspWarnInfo> pspWarnInfos);
	
	public int deleteByDaybatDate(@Param("openDay") String openDay, @Param("chkType") String chkType);
}